package com.qingzhou.web.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.qingzhou.web.repository.entity.TreatmentEntity;
import com.qingzhou.web.repository.entity.TreatmentEntity;
import com.qingzhou.web.service.impl.params.request.*;
import com.qingzhou.web.service.impl.params.vo.TreatmentVo;

/**
 *
 * @author 李海
 */
public interface TreatmentService extends IService<TreatmentEntity> {

    int add(TreatmentAddForm form);
    int delete(TreatmentDeleteForm form);
    Page<TreatmentVo> page(Page<TreatmentEntity> page, SubTablePageForm form);
    TreatmentVo detail(TreatmentDetailForm form);
    int edit(TreatmentEditForm form);
    int forceEdit(TreatmentForceEditForm form);
    int done(TreatmentDoneForm form);
    int stop(TreatmentStopForm form);
}
